<%-- 
    Document   : cad_endereco
    Created on : 16/08/2013, 09:04:19
    Author     : Aluno
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastra Endereco</title>
    </head>
    <body>
        <h1>Endereco</h1>
        <form id="form" action="EnderecoServlet?cmd=salvar" method="POST" >
            <fieldset>
                <legend>Cadastrar Endereco</legend>
                <div class="formataFormulario">
                    <label>Local:</label>
                    <input name="local" type="text" size="35" /><br />
                    <label>Rua:</label>
                    <input name="rua" type="text" /> <br />
                    <label>Bairro:</label>
                    <input name="bairro" type="text" /> <br />
                    <label>Cidade:</label>
                    <input name="cidade" type="text" /> <br />
                    <label>Estado:</label>
                    <input name="estado" type="text" /> <br />
                    <label>CEP:</label>
                    <input name="cep" type="text" /> <br />
                    <label>Capacidade Maxima:</label>
                    <input name="capacidadeMaxima" type="text" /><br />
                    <input type="submit" value="salvar">
                <c:if test="${!empty msg}">
                    <script type="text/javascript">
                        alert('${msg}');
                    </script>
                </c:if>
                </div>
            </fieldset>
        </form>
    </body>
</html>
